package com.zjj.lbw.microservice.sentinel.app.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhanglei.zjj
 * @description sentinel流控效果测试：快速失败、Warm Up、匀速排队
 * @date 2023/7/29 15:51
 */
@RestController
public class controlBehaviorTest {
    @RequestMapping("/controlBehavior")
    public String test() {
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "========test()========";
    }
}
